<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
        <link href="../../css/allstyle.css" rel="stylesheet" type="text/css" />
        <link href="../../css/rightframestyle.css" rel="stylesheet" type="text/css" />
        <link href="../../css/selectbox.css" rel="stylesheet" type="text/css" />
        <script language="javascript" src="../../js/jquery-1.4.3.min.js"></script>
        <script language="javascript" src="../../js/table.js.php"></script>
        <script language="javascript" src="../../js/trim.js"></script>
        <style>
        </style>
        <script language="javascript">
            function set_video_id() {

            }
            $(document).ready(function() {

                $("#nns_type").change(function() {
                    window.location.href = "?method=" + $("#nns_type").val() + "&org_id=7173fca93fbd535824299963a6f88e39&org_type=0&packages=video";
                })
                $(".closebtn").click(function() {
                    window.parent.close_select();
                });

                $(".content_table table tbody tr").removeClass("select");
                $(".selecttr:eq(0)").addClass("select");
                $(".category_edit_id").html($(".selecttr:eq(0)").find("td:eq(1)").html());
                $(".category_edit_name").html($(".selecttr:eq(0)").find("td:eq(2)").html());
            })
            _selectfunc = select_table_tr;
            function select_table_tr($obj) {
                $(".content_table table tbody tr").removeClass("select");
                $obj.addClass("select");
                $(".category_edit_id").html($obj.find("td:eq(1)").html());
                $(".category_edit_name").html($obj.find("td:eq(2)").html());
                window.parent.set_package_id($obj.find("td:eq(1)").html(), "video", $obj.find("td:eq(2)").html(), $obj.attr('url'));
            }
        </script>
    </head>
    <body>

        <div class="content selectcontrol" style="padding:0px; margin:0px; ">
            <div class="closebtn" ><img src="../../images/topicon_08-topicon.png" /></div>
            <div style="background-color:#FFF;">
                <div style="margin:0px; ">
                    <div class="content_table">
                        <table width="370" border="0" cellspacing="0" cellpadding="0">
                            <tbody>
                                <tr>
                                    <td>&nbsp;</td>
                                    <td class="category_edit_id"></td>
                                                                    </tr>



                            </tbody>
                        </table>
                    </div>
                </div>


                <iframe id="select_frame" scrolling="no" frameborder="0" style="width:760px; height: 510px;" src="./nncms_controls_video_select_index.php?sp_id=<?php echo $_GET['sp_id']?>&product_id=<?php echo $_GET['product_id']; ?>"></iframe>            </div>
        </div>
    </body>
</html>